Version 4
SHEET 1 1144 744
WIRE 512 48 -496 48
WIRE 576 48 512 48
WIRE 224 112 -352 112
WIRE 336 112 304 112
WIRE 432 112 416 112
WIRE 592 128 464 128
WIRE 512 160 512 48
WIRE 464 176 464 128
WIRE 496 176 464 176
WIRE 592 192 592 128
WIRE 592 192 560 192
WIRE 624 192 592 192
WIRE 720 192 704 192
WIRE 752 192 720 192
WIRE 48 208 -144 208
WIRE 96 208 48 208
WIRE 144 208 96 208
WIRE 272 208 144 208
WIRE 432 208 432 112
WIRE 432 208 352 208
WIRE 496 208 432 208
WIRE -496 240 -496 48
WIRE -352 240 -352 112
WIRE -144 240 -144 208
WIRE 48 240 48 208
WIRE 544 240 544 224
WIRE 576 240 576 48
WIRE 576 240 544 240
WIRE 720 240 720 192
WIRE 96 256 96 208
WIRE -496 352 -496 320
WIRE -352 352 -352 320
WIRE -352 352 -496 352
WIRE -144 352 -144 320
WIRE -144 352 -352 352
WIRE 48 352 48 320
WIRE 48 352 -144 352
WIRE 96 352 96 320
WIRE 96 352 48 352
WIRE 512 352 512 224
WIRE 512 352 96 352
WIRE 720 352 720 304
WIRE 720 352 512 352
WIRE 48 368 48 352
FLAG 48 368 0
FLAG 752 192 Vadc
FLAG 144 208 Vsense
SYMBOL current -144 320 R180
WINDOW 0 48 76 Top 2
WINDOW 3 16 -69 Top 2
WINDOW 123 41 -19 Top 2
WINDOW 39 0 0 Left 2
SYMATTR InstName Isense
SYMATTR Value PULSE(0 50mA 100u 1n 0 1 1)
SYMATTR Value2 AC 1
SYMBOL res 32 224 R0
WINDOW 0 -95 14 Left 2
WINDOW 3 -93 40 Left 2
SYMATTR InstName Rsense
SYMATTR Value 59.0
SYMATTR SpiceLine pwr=0.2
SYMBOL res 368 192 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R1
SYMATTR Value 100k
SYMBOL res 320 96 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R2
SYMATTR Value 100k
SYMBOL res 432 96 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName Radj
SYMATTR Value 59.0
SYMBOL voltage -496 224 R0
WINDOW 123 0 0 Left 2
WINDOW 39 0 0 Left 2
SYMATTR InstName VDDA
SYMATTR Value 3.3
SYMBOL cap 80 256 R0
SYMATTR InstName C2
SYMATTR Value 27n
SYMBOL res 720 176 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R3
SYMATTR Value 33
SYMBOL cap 704 240 R0
SYMATTR InstName C1
SYMATTR Value 47n
SYMBOL Opamps\\ADA4805 528 192 R0
WINDOW 3 -10 63 Left 2
SYMATTR InstName U3
SYMBOL voltage -352 224 R0
WINDOW 123 0 0 Left 2
WINDOW 39 0 0 Left 2
SYMATTR InstName VREF
SYMATTR Value 3.0
TEXT -384 488 Left 2 ;.dc Isense 0 45m 1m
TEXT -80 424 Left 2 !.param fpwm 20k
TEXT -384 432 Left 2 !.tran 2m
TEXT -80 464 Left 2 ;I_sense value for ripple current sim:\nPULSE(10 12mA 0 {0.5/fpwm} {0.5/fpwm} 0 {1/fpwm})
TEXT -384 456 Left 2 ;.op
TEXT -64 304 Left 2 ;200mW\n0.1%
TEXT 752 136 Left 2 ;I_primary = (Vadc - 1.50) * 67.8
TEXT -232 168 Left 2 ;I_sense = I_motor / 2000
TEXT 472 0 Left 2 ;RRIO op amp
TEXT 616 376 Left 2 ;SAR ADC input drive
TEXT 816 240 Left 2 ;stable dielectric \nsuch as C0G
TEXT -384 512 Left 2 ;.ac dec 100 1 10Meg
